package cn.spring.ly.service.impl;

import cn.spring.ly.entity.SysPressm;
import cn.spring.ly.mapper.SysPressmDao;
import cn.spring.ly.service.SysPressmService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ly
 * @since 2019-01-11
 */
@Service
public class SysPressmServiceImpl extends ServiceImpl<SysPressmDao, SysPressm> implements SysPressmService {

	@Override
	public List<String> getPressmByUserId(Long userId) {
		return baseMapper.getPressmByUserId(userId);
	}

	@Override
	public List<SysPressm> selectPressm(Long userId) {
		return baseMapper.selectPressm(userId);
	}

}
